<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="manage" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<manage:page title="签收理由管理">
    <jsp:attribute name="script">
         <script type="text/javascript" src="static-resources/layer/layer.js"></script>
       <script>
           $('.ui.form').form({
               fields: {
                   name: 'empty',
                   idx: 'empty'

               }
           });
           $(function () {
               $(".reason-selector select").dropdown({
                   fullTextSearch: true
               });
           })
       </script>
</jsp:attribute>
    <jsp:body>
        <div class="ui container" style="display: block;margin-top: 5px;">
            <br>
            <div class="ui breadcrumb">
                <a class="active section" href="/users.do">用户查询</a>
            </div>
            <form class="ui form" method="get">
                <div class="ui raised segment">
                    <div class="three fields">
                        <div class="field">
                            <div class="field">
                                <label>用户id</label>
                                <input type="text"  value="${user.id}"
                                       placeholder="用户id">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>中台用户id</label>
                                <input type="text"  value="${user.userId}"
                                       placeholder="用户id">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>用户昵称</label>
                                <input type="text" value="${user.name}"
                                       placeholder="用户昵称">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>用户登录名称</label>
                                <input type="text"  value="${user.username}"
                                       placeholder="用户登录名称">
                            </div>
                        </div>
                    </div>
                    <div class="three fields">
                        <div class="field">
                            <div class="field">
                                <label>门店编号</label>
                                <input type="text"  value="${user.depotCode}"
                                       placeholder="门店编号">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>门店名称</label>
                                <input type="text" value="${user.depotName}"
                                       placeholder="门店名称">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>用户推送token</label>
                                <input type="text" value="${user.pushToken}"
                                       placeholder="用户推送token">
                            </div>
                        </div>
                      <%--  <div class="field">
                            <div class="field">
                                <label>最后一次登录时间</label>
                                <input type="text"  value="${fn:substring(user.lastLoginTime, 0, 19)}"
                                       placeholder="最后一次登录时间">
                            </div>
                        </div>--%>
                    </div>
                    <div class="three fields">
                        <div class="field">
                            <div class="field">
                                <label>状态</label>
                                <input type="text"  value="${user.status.name}"
                                       placeholder="状态">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>设备ID</label>
                                <input type="text"  value="${user.deviceId}"
                                       placeholder="设备ID">
                            </div>
                        </div>
                        <div class="field">
                            <div class="field">
                                <label>手机操作系统</label>
                                <input type="text"  value="${user.os}"
                                       placeholder="手机操作系统">
                            </div>
                        </div>
                    </div>

                    <div class="field pull-right" style="display: block;text-align: center;margin-bottom: 60px;">
                        <a class="ui primary button" href="/users.do">返回</a>
                    </div>
                    <br><br>
                </div>
            </form>
        </div>
    </jsp:body>

</manage:page>
